const http = uni.$u.http
//验证码
export const code =(params,config={})=>http.get('/code',params,config);
//登录
export const login = (params, config = {}) => http.post('/auth/login', params, config);
//用户信息
export const userInfo=(params,config={})=>http.get('/system/user/getInfo',params,config);
//备品清单
export const spareNotes=(params,config={})=>http.get('/product/products/list',params,config);